package com.etoak.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Room implements Serializable {

    private Integer id;

    /**
     * 房间号
     */
    private String roomNum;

    /**
     * 房间类型
     */
    private Integer roomType;

    /**
     * 房间状态 1 待入住 2 已预订 3已入住 4待打扫
     */
    private Integer status;

    /**
     * 酒店id
     */
    private Integer hid;

    /**
     * 创建时间
     */
    private Date createTime;


    public Room(Integer roomType, Integer hid) {
        this.roomType = roomType;
        this.hid = hid;
    }

    private static final long serialVersionUID = 1L;
}
